package com.adaxi.adc.business.manager.service.impl;

import com.adaxi.adc.business.manager.vo.WeekPassengerVo;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.adaxi.adc.business.manager.pojo.PassengerTrip;
import com.adaxi.adc.business.manager.service.PassengerTripService;
import com.adaxi.adc.business.manager.mapper.PassengerTripMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author Lenovo
* @description 针对表【adc-passenger-trip(乘客行程表)】的数据库操作Service实现
* @createDate 2023-10-01 21:26:20
*/
@Service
public class PassengerTripServiceImpl extends ServiceImpl<PassengerTripMapper, PassengerTrip>
    implements PassengerTripService{

    @Autowired
    PassengerTripMapper passengerTrip;


    @Override
    public List<WeekPassengerVo> weekPassenger() {
        return passengerTrip.weekPassenger();
    }

    @Override
    public List<PassengerTrip> passengerTripid(Long id) {
        return baseMapper.passengerTripid(id);
    }

    @Override
    public int createPassenger() {
        return passengerTrip.createPassenger();
    }
}




